Skip to content

tests: Require run-fail ui tests to have an exit code (SIGABRT not ok) #143002

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Enselic
Copy link
Member

@Enselic Enselic commented Jun 25, 2025

And introduce two new directives for ui tests:

  • run-crash
  • run-fail-or-crash

Normally a run-fail ui test like tests that panic shall not be terminated by a signal like SIGABRT. So begin having that as a hard requirement.

Some of our current tests do terminate by a signal/crash however. Introduce and use run-crash for those tests. Note that Windows crashes are not handled by signals but by certain high bits set on the process exit code. Example exit code for crash on Windows: 0xc000001d (STATUS_ILLEGAL_INSTRUCTION). Because of this, we define "crash" on all platforms as "not exit with success and not exit with a regular failure code in the range 1..=127".

Some tests behave differently on different targets:

  • Targets without unwind support will abort (crash) instead of exit with failure code 101 after panicking. As a special case, allow crashes for run-fail tests for such targets.
  • Different sanitizer implementations handle detected memory problems differently. Some abort (crash) the process while others exit with failure code 1. Introduce and use run-fail-or-crash for such tests.

This adds further (cc #142304, #142886) protection against the regression in #123733 since that bug also manifested as SIGABRT in tests/ui/panics/panic-main.rs (shown as Aborted (core dumped) in the logs attached to that issue, and I have also been able to reproduce this locally).

TODO

Zulip discussion

See https://rust-lang.zulipchat.com/#narrow/channel/122651-general/topic/compiletest.3A.20terminate.20by.20signal.20vs.20exit.20with.20error/with/525611235

try-job: aarch64-apple
try-job: x86_64-msvc-1
try-job: x86_64-gnu
try-job: dist-i586-gnu-i586-i686-musl
try-job: test-various

@rustbot
Copy link
Collaborator

rustbot commented Jun 25, 2025

r? @petrochenkov

rustbot has assigned @petrochenkov.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-compiletest Area: The compiletest test runner A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jun 25, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jun 25, 2025

Some changes occurred in src/tools/compiletest

cc @jieyouxu

@Enselic Enselic added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 25, 2025
@rustbot rustbot added the T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. label Jun 25, 2025
@rust-log-analyzer

This comment has been minimized.

@workingjubilee
Copy link
Member

workingjubilee commented Jun 25, 2025

why not simply run-abort

also would accept run-crash

@jieyouxu
Copy link
Member

@bors2 delegate=try

@rust-bors
Copy link

rust-bors bot commented Jun 25, 2025

@Enselic can now perform try builds on this pull request

@Enselic Enselic force-pushed the tests-ui-run-fail-exit-vs-signal branch from 6ad1973 to 17be091 Compare June 25, 2025 10:12
@Enselic

This comment was marked as outdated.

@rust-bors

This comment was marked as outdated.

@Enselic
Copy link
Member Author

Enselic commented Jun 25, 2025

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 25, 2025

⌛ Trying commit 17be091 with merge 873ecba

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 25, 2025
…try>

tests: Require `run-fail` ui tests to have an exit code (`SIGABRT` not ok)

Normally a `run-fail` ui test shall not be terminated by a signal like `SIGABRT`. So begin having that as a hard requirement.

Some of our current tests do terminate by a signal however. Introduce and use `run-fail-without-exit-code` for those tests.

This adds further (cc #142304, #142886) protection against the regression in #123733 since that bug also manifested as `SIGABRT` in `tests/ui/panics/panic-main.rs` (shown as `Aborted (core dumped)` in the logs attached to that issue, and I have also been able to reproduce this locally).

### TODO
- [ ] what about on Windows?
- [ ] also update docs at https://rustc-dev-guide.rust-lang.org/tests/directives.html#controlling-outcome-expectations
- [ ] clean up the code

### Zulip discussion

See https://rust-lang.zulipchat.com/#narrow/channel/122651-general/topic/compiletest.3A.20terminate.20by.20signal.20vs.20exit.20with.20error/with/525611235

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-bors

This comment was marked as resolved.

@Enselic Enselic force-pushed the tests-ui-run-fail-exit-vs-signal branch from 17be091 to ad4e082 Compare June 25, 2025 13:30
@Enselic
Copy link
Member Author

Enselic commented Jun 25, 2025

An only-windows test that was run-fail now must be run-crash. Fixed now. Trying again:

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 25, 2025

⌛ Trying commit ad4e082 with merge e685982

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 25, 2025
…try>

tests: Require `run-fail` ui tests to have an exit code (`SIGABRT` not ok)

Normally a `run-fail` ui test shall not be terminated by a signal like `SIGABRT`. So begin having that as a hard requirement.

Some of our current tests do terminate by a signal however. Introduce and use `run-fail-without-exit-code` for those tests.

This adds further (cc #142304, #142886) protection against the regression in #123733 since that bug also manifested as `SIGABRT` in `tests/ui/panics/panic-main.rs` (shown as `Aborted (core dumped)` in the logs attached to that issue, and I have also been able to reproduce this locally).

### TODO
- [ ] **Q:** what about on Windows?
    **A:** we'll treat any exit code outside of 1 - 127 as "crashed", and we'll do the same on unix.
- [ ] also update docs at https://rustc-dev-guide.rust-lang.org/tests/directives.html#controlling-outcome-expectations
- [ ] clean up the code
- [ ] test all permutations of actual vs expected

### Zulip discussion

See https://rust-lang.zulipchat.com/#narrow/channel/122651-general/topic/compiletest.3A.20terminate.20by.20signal.20vs.20exit.20with.20error/with/525611235

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-bors

This comment was marked as resolved.

@Enselic Enselic force-pushed the tests-ui-run-fail-exit-vs-signal branch from ad4e082 to 2499dac Compare June 25, 2025 16:29
@rustbot rustbot added the A-rustc-dev-guide Area: rustc-dev-guide label Jun 25, 2025
@rust-bors
Copy link

rust-bors bot commented Jul 2, 2025

☀️ Try build successful (CI)
Build commit: 6778a43 (6778a43f0f7b98963a9a3cd127bdf034a66e9cbc, parent: f51c9870bab634afb9e7a262b6ca7816bb9e940d)

@Enselic Enselic force-pushed the tests-ui-run-fail-exit-vs-signal branch 2 times, most recently from c19e167 to 7914e18 Compare July 2, 2025 12:14
@Enselic
Copy link
Member Author

Enselic commented Jul 2, 2025

The problems found by bors in the approved commit 4573c84 should be fixed now. Changes in the current commit compared to that commit:

  • Allow run-fail tests to crash on targets without unwind support such as wasm32-wasip1 (see updated docs for more info).
  • Add and use run-fail-or-crash for sanitizer tests since some sanitizers abort while others exit with code 1. I'm also sure we'll find more uses for that relaxed version in the future.
  • Update rustc-dev-guide with the above.
  • Include more details in the test fail messages (see exhaustive examples below).

Since the try-jobs succeeded (I only did minor change since then) this is ready for review again:

@rustbot ready

Updated examples of failure messages:

error: test did not exit with success! code=Some(101) so test would pass with `run-fail`
status: exit status: 101
error: test did not exit with success! code=None so test would pass with `run-crash`
status: signal: 4 (SIGILL) (core dumped)
error: test did not crash! code=Some(101) so test would pass with `run-fail`
status: exit status: 101
error: test did not crash! code=Some(0) so test would pass with `run-pass`
status: exit status: 0
error: test did not exit with failure! code=None so test would pass with `run-crash`
status: signal: 6 (SIGABRT) (core dumped)
error: test did not exit with failure! code=Some(0) so test would pass with `run-pass`
status: exit status: 0

How exit code 0 looks like for a run-fail test on platforms without unwind support:

error: test did not exit with failure or crash (`wasm32-wasip1` can't unwind)! code=Some(0) so test would pass with `run-pass`
status: exit status: 0

More details

Click to expand full test output of test failures
$ ./x test --stage 1 tests/ui

failures:

---- [ui] tests/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion.rs stdout ----

error: test did not exit with failure! code=Some(0) so test would pass with `run-pass`
status: exit status: 0
command: cd "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion" && RUSTC="/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUST_TEST_THREADS="32" "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion/a"
stdout: none
stderr: none


---- [ui] tests/ui/deref.rs stdout ----

error: test did not exit with success! code=Some(101) so test would pass with `run-fail`
status: exit status: 101
command: cd "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/deref" && RUSTC="/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUST_TEST_THREADS="32" "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/deref/a"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /home/martin/src/rust-2/tests/ui/deref.rs:4:5:
moop
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------------------------------------


---- [ui] tests/ui/inlined-main.rs stdout ----

error: test did not exit with success! code=None so test would pass with `run-crash`
status: signal: 4 (SIGILL) (core dumped)
command: cd "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/inlined-main" && RUSTC="/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUST_TEST_THREADS="32" "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/inlined-main/a"
stdout: none
stderr: none


---- [ui] tests/ui/mir/alignment/misaligned_borrow.rs stdout ----

error: test did not crash! code=Some(101) so test would pass with `run-fail`
status: exit status: 101
command: cd "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/misaligned_borrow" && RUSTC="/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUST_TEST_THREADS="32" "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/misaligned_borrow/a"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /home/martin/src/rust-2/tests/ui/mir/alignment/misaligned_borrow.rs:7:5:
moop
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------------------------------------


---- [ui] tests/ui/mir/alignment/borrow_misaligned_field_projection.rs stdout ----

error: test did not crash! code=Some(0) so test would pass with `run-pass`
status: exit status: 0
command: cd "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/borrow_misaligned_field_projection" && RUSTC="/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUST_TEST_THREADS="32" "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/borrow_misaligned_field_projection/a"
stdout: none
stderr: none


---- [ui] tests/ui/panics/main-panic.rs stdout ----

error: test did not exit with failure! code=None so test would pass with `run-crash`
status: signal: 6 (SIGABRT) (core dumped)
command: cd "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/panics/main-panic" && RUSTC="/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUST_TEST_THREADS="32" "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/panics/main-panic/a"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /home/martin/src/rust-2/tests/ui/panics/main-panic.rs:8:9:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/panics/panic-main.rs stdout ----

error: test did not exit with failure! code=Some(0) so test would pass with `run-pass`
status: exit status: 0
command: cd "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-main" && RUSTC="/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUST_TEST_THREADS="32" "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-main/a"
stdout: none
stderr: none



failures:
    [ui] tests/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion.rs
    [ui] tests/ui/deref.rs
    [ui] tests/ui/inlined-main.rs
    [ui] tests/ui/mir/alignment/misaligned_borrow.rs
    [ui] tests/ui/mir/alignment/borrow_misaligned_field_projection.rs
    [ui] tests/ui/panics/main-panic.rs
    [ui] tests/ui/panics/panic-main.rs

test result: FAILED. 19165 passed; 7 failed; 164 ignored; 0 measured; 0 filtered out; finished in 100.41s

Some tests failed in compiletest suite=ui mode=ui host=x86_64-unknown-linux-gnu target=x86_64-unknown-linux-gnu
Build completed unsuccessfully in 0:03:42






$ PATH="/home/martin/opt/wasmtime-v19/wasmtime-v19.0.0-x86_64-linux:$PATH" WASI_SDK_PATH=/home/martin/opt/wasi-sdk-25/wasi-sdk-25.0-x86_64-linux ./x test --stage 1 --set rust.lld=true --target wasm32-wasip1 tests/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion.rs --force-rerun

Testing stage1 compiletest suite=ui mode=ui (x86_64-unknown-linux-gnu -> wasm32-wasip1)

running 1 tests

[ui] tests/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion.rs ... F


failures:

---- [ui] tests/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion.rs stdout ----

error: test did not exit with failure or crash (`wasm32-wasip1` can't unwind)! code=Some(0) so test would pass with `run-pass`
status: exit status: 0
command: cd "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion" && RUSTC="/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUST_TEST_THREADS="32" "/home/martin/opt/wasmtime-v19/wasmtime-v19.0.0-x86_64-linux/wasmtime" "run" "-C" "cache=n" "--dir" "." "--env" "RUSTC_BOOTSTRAP" "/home/martin/src/rust-2/build/x86_64-unknown-linux-gnu/test/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion/a.wasm"
stdout: none
stderr: none



failures:
    [ui] tests/ui/async-await/issues/issue-65419/issue-65419-coroutine-resume-after-completion.rs

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 19335 filtered out; finished in 133.06ms

Some tests failed in compiletest suite=ui mode=ui host=x86_64-unknown-linux-gnu target=wasm32-wasip1
Build completed unsuccessfully in 0:01:15

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jul 2, 2025
@bors

This comment was marked as resolved.

@Enselic Enselic force-pushed the tests-ui-run-fail-exit-vs-signal branch from 7914e18 to 5334e8a Compare July 3, 2025 08:04
@rust-log-analyzer

This comment has been minimized.

@Enselic Enselic force-pushed the tests-ui-run-fail-exit-vs-signal branch from 5334e8a to 7f2f79f Compare July 3, 2025 09:21
@petrochenkov
Copy link
Contributor

r=me with #143002 (comment) addressed.
@rustbot author
@bors delegate+

@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 3, 2025
@bors
Copy link
Collaborator

bors commented Jul 3, 2025

✌️ @Enselic, you can now approve this pull request!

If @petrochenkov told you to "r=me" after making some further change, please make that change, then do @bors r=@petrochenkov

@rustbot rustbot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jul 3, 2025
…t ok)

And introduce two new directives for ui tests:
* `run-crash`
* `run-fail-or-crash`

Normally a `run-fail` ui test like tests that panic shall not be
terminated by a signal like `SIGABRT`. So begin having that as a hard
requirement.

Some of our current tests do terminate by a signal/crash however.
Introduce and use `run-crash` for those tests. Note that Windows crashes
are not handled by signals but by certain high bits set on the process
exit code. Example exit code for crash on Windows: `0xc000001d`.
Because of this, we define "crash" on all platforms as "not exit with
success and not exit with a regular failure code in the range 1..=127".

Some tests behave differently on different targets:
* Targets without unwind support will abort (crash) instead of exit with
  failure code 101 after panicking. As a special case, allow crashes for
  `run-fail` tests for such targets.
* Different sanitizer implementations handle detected memory problems
  differently. Some abort (crash) the process while others exit with
  failure code 1. Introduce and use `run-fail-or-crash` for such tests.
@Enselic Enselic force-pushed the tests-ui-run-fail-exit-vs-signal branch from 7f2f79f to 6950daf Compare July 3, 2025 13:35
@Enselic
Copy link
Member Author

Enselic commented Jul 3, 2025

@bors r=@petrochenkov

@bors
Copy link
Collaborator

bors commented Jul 3, 2025

📌 Commit 6950daf has been approved by petrochenkov

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jul 3, 2025
@bors
Copy link
Collaborator

bors commented Jul 4, 2025

⌛ Testing commit 6950daf with merge f6080af...

bors added a commit that referenced this pull request Jul 4, 2025
…etrochenkov

tests: Require `run-fail` ui tests to have an exit code (`SIGABRT` not ok)

And introduce two new directives for ui tests:
* `run-crash`
* `run-fail-or-crash`

Normally a `run-fail` ui test like tests that panic shall not be terminated by a signal like `SIGABRT`. So begin having that as a hard requirement.

Some of our current tests do terminate by a signal/crash however.  Introduce and use `run-crash` for those tests. Note that Windows crashes are not handled by signals but by certain high bits set on the process  exit code. Example exit code for crash on Windows: `0xc000001d` (`STATUS_ILLEGAL_INSTRUCTION`).  Because of this, we define "crash" on all platforms as "not exit with success and not exit with a regular failure code in the range 1..=127".

Some tests behave differently on different targets:
* Targets without unwind support will abort (crash) instead of exit with   failure code 101 after panicking. As a special case, allow crashes for   `run-fail` tests for such targets.
* Different sanitizer implementations handle detected memory problems   differently. Some abort (crash) the process while others exit with   failure code 1. Introduce and use `run-fail-or-crash` for such tests.

This adds further (cc #142304, #142886) protection against the regression in #123733 since that bug also manifested as `SIGABRT` in `tests/ui/panics/panic-main.rs` (shown as `Aborted (core dumped)` in the logs attached to that issue, and I have also been able to reproduce this locally).

### TODO
- [x] **Q:** what about on Windows?
    **A:** we'll treat any exit code outside of 1 - 127 as "crashed", and we'll do the same on unix.
- [x] test all permutations of actual vs expected
    **Done:** See #143002 (comment).
- [x] Handle targets without unwind support
- [x] Add `run-fail-or-crash` for some sanitizer tests

### Zulip discussion

See https://rust-lang.zulipchat.com/#narrow/channel/122651-general/topic/compiletest.3A.20terminate.20by.20signal.20vs.20exit.20with.20error/with/525611235

try-job: aarch64-apple
try-job: x86_64-msvc-1
try-job: x86_64-gnu
try-job: dist-i586-gnu-i586-i686-musl
try-job: test-various
@rust-log-analyzer
Copy link
Collaborator

The job armhf-gnu failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:

---- [ui] tests/ui/contracts/contract-attributes-generics.rs#chk_const_fail stdout ----

error in revision `chk_const_fail`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-generics.chk_const_fail/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-generics.chk_const_fail/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed requires check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/contract-attributes-generics.rs#chk_fail_post stdout ----

error in revision `chk_fail_post`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-generics.chk_fail_post/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-generics.chk_fail_post/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed ensures check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/contract-attributes-generics.rs#chk_fail_pre stdout ----

error in revision `chk_fail_pre`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-generics.chk_fail_pre/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-generics.chk_fail_pre/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed requires check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/contract-attributes-nest.rs#chk_fail_pre stdout ----

error in revision `chk_fail_pre`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-nest.chk_fail_pre/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-nest.chk_fail_pre/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed requires check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/contract-attributes-nest.rs#chk_fail_post stdout ----

error in revision `chk_fail_post`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-nest.chk_fail_post/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-nest.chk_fail_post/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed ensures check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/contract-attributes-tail.rs#chk_fail_post stdout ----

error in revision `chk_fail_post`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-tail.chk_fail_post/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-tail.chk_fail_post/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed ensures check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/contract-attributes-tail.rs#chk_fail_pre stdout ----

error in revision `chk_fail_pre`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-tail.chk_fail_pre/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-attributes-tail.chk_fail_pre/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed requires check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/contract-captures-via-closure-copy.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-captures-via-closure-copy/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-captures-via-closure-copy/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/contracts/contract-const-fn.rs#runtime_fail_post stdout ----

error in revision `runtime_fail_post`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-const-fn.runtime_fail_post/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-const-fn.runtime_fail_post/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/contracts/contract-const-fn.rs#runtime_fail_pre stdout ----

error in revision `runtime_fail_pre`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-const-fn.runtime_fail_pre/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contract-const-fn.runtime_fail_pre/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed requires check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/contracts-ensures-early-fn-exit.rs#chk_fail_ret stdout ----

error in revision `chk_fail_ret`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contracts-ensures-early-fn-exit.chk_fail_ret/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contracts-ensures-early-fn-exit.chk_fail_ret/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed ensures check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/contracts-ensures-early-fn-exit.rs#chk_fail_try stdout ----

error in revision `chk_fail_try`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contracts-ensures-early-fn-exit.chk_fail_try/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contracts-ensures-early-fn-exit.chk_fail_try/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed ensures check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/contracts-ensures-early-fn-exit.rs#chk_fail_yeet stdout ----

error in revision `chk_fail_yeet`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contracts-ensures-early-fn-exit.chk_fail_yeet/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/contracts-ensures-early-fn-exit.chk_fail_yeet/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed ensures check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/internal_machinery/contract-ast-extensions-nest.rs#chk_fail_post stdout ----

error in revision `chk_fail_post`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-ast-extensions-nest.chk_fail_post/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-ast-extensions-nest.chk_fail_post/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed ensures check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/internal_machinery/contract-ast-extensions-nest.rs#chk_fail_pre stdout ----

error in revision `chk_fail_pre`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-ast-extensions-nest.chk_fail_pre/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-ast-extensions-nest.chk_fail_pre/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed requires check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/internal_machinery/contract-ast-extensions-tail.rs#chk_fail_post stdout ----

error in revision `chk_fail_post`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-ast-extensions-tail.chk_fail_post/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-ast-extensions-tail.chk_fail_post/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed ensures check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/internal_machinery/contract-ast-extensions-tail.rs#chk_fail_pre stdout ----

error in revision `chk_fail_pre`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-ast-extensions-tail.chk_fail_pre/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-ast-extensions-tail.chk_fail_pre/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed requires check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/internal_machinery/contract-intrinsics.rs#chk_fail_ensures stdout ----

error in revision `chk_fail_ensures`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-intrinsics.chk_fail_ensures/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-intrinsics.chk_fail_ensures/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed ensures check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/internal_machinery/contract-intrinsics.rs#chk_fail_requires stdout ----

error in revision `chk_fail_requires`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-intrinsics.chk_fail_requires/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-intrinsics.chk_fail_requires/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed requires check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/contracts/internal_machinery/contract-lang-items.rs#chk_fail_post stdout ----

error in revision `chk_fail_post`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-lang-items.chk_fail_post/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/contracts/internal_machinery/contract-lang-items.chk_fail_post/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at library/core/src/panicking.rs:225:5:
failed ensures check
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/extern/extern-types-field-offset.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_BACKTRACE="0" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/extern/extern-types-field-offset/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/extern/extern-types-field-offset/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/alignment/borrow_misaligned_field_projection.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/borrow_misaligned_field_projection/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/borrow_misaligned_field_projection/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/alignment/misaligned_borrow.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/misaligned_borrow/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/misaligned_borrow/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/alignment/misaligned_lhs.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/misaligned_lhs/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/misaligned_lhs/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/mir/alignment/misaligned_lhs.rs:10:9:
misaligned pointer dereference: address must be a multiple of 0x4 but is 0x7eb6b2a9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/mir/alignment/misaligned_mut_borrow.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/misaligned_mut_borrow/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/misaligned_mut_borrow/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/alignment/misaligned_rhs.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/misaligned_rhs/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/misaligned_rhs/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/mir/alignment/misaligned_rhs.rs:10:18:
misaligned pointer dereference: address must be a multiple of 0x4 but is 0x7e9362a9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/mir/alignment/two_pointers.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/two_pointers/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/alignment/two_pointers/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/enum/convert_non_enum_break.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/convert_non_enum_break/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/convert_non_enum_break/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/enum/convert_non_enum_niche_break.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/convert_non_enum_niche_break/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/convert_non_enum_niche_break/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/enum/negative_discr_break.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/negative_discr_break/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/negative_discr_break/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/enum/niche_option_tuple_break.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/niche_option_tuple_break/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/niche_option_tuple_break/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/enum/numbered_variants_break.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/numbered_variants_break/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/numbered_variants_break/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/enum/option_with_bigger_niche_break.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/option_with_bigger_niche_break/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/option_with_bigger_niche_break/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/enum/plain_no_data_break.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/plain_no_data_break/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/plain_no_data_break/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/enum/single_with_repr_break.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/single_with_repr_break/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/single_with_repr_break/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/enum/with_niche_int_break.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/with_niche_int_break/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/with_niche_int_break/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/enum/wrap_break.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/wrap_break/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/enum/wrap_break/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/null/borrowed_mut_null.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/null/borrowed_mut_null/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/null/borrowed_mut_null/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/null/borrowed_null.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/null/borrowed_null/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/null/borrowed_null/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/mir/null/borrowed_null_zst.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/null/borrowed_null_zst/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/null/borrowed_null_zst/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/mir/null/borrowed_null_zst.rs:7:30:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/mir/null/null_lhs.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/null/null_lhs/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/null/null_lhs/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/mir/null/null_lhs.rs:8:9:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/mir/null/null_rhs.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/null/null_rhs/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/null/null_rhs/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/mir/null/null_rhs.rs:8:18:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/mir/null/two_pointers.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/null/two_pointers/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/mir/null/two_pointers/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/panics/panic-in-cleanup.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_BACKTRACE="0" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-in-cleanup/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-in-cleanup/a", waiting for result
died due to signal 6
---
BOOM
stack backtrace:
   0: 0x76e16fcc - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hb56008605f352e8b
   1: 0x76e83618 - core::fmt::write::h15c64acacd555a2f
   2: 0x76e078e0 - std::io::Write::write_fmt::h96d9c3f51f51a1b2
   3: 0x76e16eb8 - std::sys::backtrace::BacktraceLock::print::hf41c680dd655fc71
   4: 0x76e1b420 - std::panicking::default_hook::{{closure}}::h49f4be41ea8d173a
   5: 0x76e1b170 - std::panicking::default_hook::h686318bc20a39946
   6: 0x76e1c118 - std::panicking::rust_panic_with_hook::h06776fb50090f45b
   7: 0x76e1be88 - std::panicking::begin_panic::{{closure}}::h18856d08809a48ce
   8: 0x76e1759c - std::sys::backtrace::__rust_end_short_backtrace::h9634619c34edb4d0
   9: 0x76db7428 - std::panicking::begin_panic::h9e3b2d14ef6b72a8
  10:   0x466870 - <panic_in_cleanup::Bomb as core::ops::drop::Drop>::drop::h744153f29cf1a181
  11:   0x466844 - core::ptr::drop_in_place<panic_in_cleanup::Bomb>::hc729501cc7a0897c
  12:   0x4668ac - panic_in_cleanup::main::h912dd26ba7846c32
  13:   0x4667f0 - core::ops::function::FnOnce::call_once::h6c6d9862c1ed6ee3
  14:   0x4667c0 - std::sys::backtrace::__rust_begin_short_backtrace::ha9d1ef005bf53458
  15:   0x4667a8 - std::rt::lang_start::{{closure}}::hbffd9bd927d49b6e
  16: 0x76df1fa0 - std::rt::lang_start_internal::hdcca5aaa720d80f8
  17:   0x46678c - std::rt::lang_start::hccf8574e5f002bbe
  18:   0x4668fc - main
  19: 0x76c2d7d6 - <unknown>
  20: 0x76c2d886 - __libc_start_main

thread 'main' panicked at library/core/src/panicking.rs:233:5:
panic in a destructor during cleanup
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/panics/panic-in-message-fmt.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_BACKTRACE="0" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-in-message-fmt/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-in-message-fmt/a", waiting for result
died due to signal 6
---


---- [ui] tests/ui/panics/panic-in-ffi.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_BACKTRACE="0" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-in-ffi/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/panics/panic-in-ffi/a", waiting for result
died due to signal 6
---
panic in a function that cannot unwind
stack backtrace:
   0: 0x76e26fcc - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hb56008605f352e8b
   1: 0x76e93618 - core::fmt::write::h15c64acacd555a2f
   2: 0x76e178e0 - std::io::Write::write_fmt::h96d9c3f51f51a1b2
   3: 0x76e26eb8 - std::sys::backtrace::BacktraceLock::print::hf41c680dd655fc71
   4: 0x76e2b420 - std::panicking::default_hook::{{closure}}::h49f4be41ea8d173a
   5: 0x76e2b170 - std::panicking::default_hook::h686318bc20a39946
   6: 0x76e2c118 - std::panicking::rust_panic_with_hook::h06776fb50090f45b
   7: 0x76e2bce0 - std::panicking::begin_panic_handler::{{closure}}::hf7e3982552c8f425
   8: 0x76e275a8 - std::sys::backtrace::__rust_end_short_backtrace::hc4b1e148cba6139b
   9: 0x76e2b8cc - __rustc[ebf3d4612ef4a777]::rust_begin_unwind
  10: 0x76dc9cb4 - core::panicking::panic_nounwind_fmt::h95571e9fa011c87d
  11: 0x76dc9d48 - core::panicking::panic_nounwind::h9b506a755d90d8d8
  12: 0x76dc9fa8 - core::panicking::panic_cannot_unwind::hd35873f39574ea60
  13:   0x43f9ec - panic_in_ffi::panic_in_ffi::habab9cbfe285a0c2
  14:   0x43fa00 - panic_in_ffi::main::h60fd900f08d2616a
  15:   0x43f910 - core::ops::function::FnOnce::call_once::h8cfe8db1ffda2f52
  16:   0x43f878 - std::sys::backtrace::__rust_begin_short_backtrace::hfda71cf48d7bb8b6
  17:   0x43f860 - std::rt::lang_start::{{closure}}::h02d65b6dcde856a9
  18: 0x76e01fa0 - std::rt::lang_start_internal::hdcca5aaa720d80f8
  19:   0x43f844 - std::rt::lang_start::h5a8b8af673e90806
  20:   0x43fa2c - main
  21: 0x76c3d7d6 - <unknown>
  22: 0x76c3d886 - __libc_start_main
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/alignment.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/alignment/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/alignment/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/alignment.rs:9:9:
unsafe precondition(s) violated: Alignment::new_unchecked requires a power of two

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/ascii-char-digit_unchecked.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/ascii-char-digit_unchecked/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/ascii-char-digit_unchecked/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/ascii-char-digit_unchecked.rs:9:9:
unsafe precondition(s) violated: `ascii::Char::digit_unchecked` input cannot exceed 9.

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/assert_unchecked.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/assert_unchecked/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/assert_unchecked/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/assert_unchecked.rs:7:9:
unsafe precondition(s) violated: hint::assert_unchecked must never be called when the condition is false

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/char-from_u32_unchecked.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/char-from_u32_unchecked/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/char-from_u32_unchecked/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /rustc/FAKE_PREFIX/library/core/src/char/methods.rs:239:18:
unsafe precondition(s) violated: invalid value for `char`

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/copy-nonoverlapping.rs#misaligned_dst stdout ----

error in revision `misaligned_dst`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy-nonoverlapping.misaligned_dst/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy-nonoverlapping.misaligned_dst/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /rustc/FAKE_PREFIX/library/core/src/ptr/mod.rs:522:5:
unsafe precondition(s) violated: ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/copy-nonoverlapping.rs#misaligned_src stdout ----

error in revision `misaligned_src`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy-nonoverlapping.misaligned_src/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy-nonoverlapping.misaligned_src/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /rustc/FAKE_PREFIX/library/core/src/ptr/mod.rs:522:5:
unsafe precondition(s) violated: ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/copy-nonoverlapping.rs#null_dst stdout ----

error in revision `null_dst`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy-nonoverlapping.null_dst/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy-nonoverlapping.null_dst/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /rustc/FAKE_PREFIX/library/core/src/ptr/mod.rs:522:5:
unsafe precondition(s) violated: ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/copy-nonoverlapping.rs#null_src stdout ----

error in revision `null_src`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy-nonoverlapping.null_src/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy-nonoverlapping.null_src/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /rustc/FAKE_PREFIX/library/core/src/ptr/mod.rs:522:5:
unsafe precondition(s) violated: ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/copy-nonoverlapping.rs#overlapping stdout ----

error in revision `overlapping`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy-nonoverlapping.overlapping/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy-nonoverlapping.overlapping/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /rustc/FAKE_PREFIX/library/core/src/ptr/mod.rs:522:5:
unsafe precondition(s) violated: ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/copy.rs#misaligned_dst stdout ----

error in revision `misaligned_dst`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy.misaligned_dst/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy.misaligned_dst/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /rustc/FAKE_PREFIX/library/core/src/ptr/mod.rs:621:9:
unsafe precondition(s) violated: ptr::copy requires that both pointer arguments are aligned and non-null

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/copy.rs#misaligned_src stdout ----

error in revision `misaligned_src`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy.misaligned_src/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy.misaligned_src/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /rustc/FAKE_PREFIX/library/core/src/ptr/mod.rs:621:9:
unsafe precondition(s) violated: ptr::copy requires that both pointer arguments are aligned and non-null

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/copy.rs#null_dst stdout ----

error in revision `null_dst`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy.null_dst/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy.null_dst/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /rustc/FAKE_PREFIX/library/core/src/ptr/mod.rs:621:9:
unsafe precondition(s) violated: ptr::copy requires that both pointer arguments are aligned and non-null

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/copy.rs#null_src stdout ----

error in revision `null_src`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy.null_src/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/copy.null_src/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /rustc/FAKE_PREFIX/library/core/src/ptr/mod.rs:621:9:
unsafe precondition(s) violated: ptr::copy requires that both pointer arguments are aligned and non-null

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/layout.rs#badalign stdout ----

error in revision `badalign`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/layout.badalign/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/layout.badalign/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/layout.rs:11:9:
unsafe precondition(s) violated: Layout::from_size_align_unchecked requires that align is a power of 2 and the rounded-up allocation size does not exceed isize::MAX

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/layout.rs#toolarge stdout ----

error in revision `toolarge`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/layout.toolarge/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/layout.toolarge/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/layout.rs:9:9:
unsafe precondition(s) violated: Layout::from_size_align_unchecked requires that align is a power of 2 and the rounded-up allocation size does not exceed isize::MAX

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/nonnull.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/nonnull/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/nonnull/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/nonnull.rs:7:9:
unsafe precondition(s) violated: NonNull::new_unchecked requires that the pointer is non-null

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/nonzero-from_mut_unchecked.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/nonzero-from_mut_unchecked/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/nonzero-from_mut_unchecked/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/nonzero-from_mut_unchecked.rs:10:9:
unsafe precondition(s) violated: NonZero::from_mut_unchecked requires the argument to dereference as non-zero

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/nonzero-new_unchecked.rs stdout ----

error: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/nonzero-new_unchecked/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/nonzero-new_unchecked/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/nonzero-new_unchecked.rs:7:9:
unsafe precondition(s) violated: NonZero::new_unchecked requires the argument to be non-zero

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/read_volatile.rs#misaligned stdout ----

error in revision `misaligned`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/read_volatile.misaligned/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/read_volatile.misaligned/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/read_volatile.rs:17:9:
unsafe precondition(s) violated: ptr::read_volatile requires that the pointer argument is aligned and non-null

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/read_volatile.rs#null stdout ----

error in revision `null`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/read_volatile.null/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/read_volatile.null/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/read_volatile.rs:15:9:
unsafe precondition(s) violated: ptr::read_volatile requires that the pointer argument is aligned and non-null

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/replace.rs#misaligned stdout ----

error in revision `misaligned`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/replace.misaligned/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/replace.misaligned/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/replace.rs:17:9:
unsafe precondition(s) violated: ptr::replace requires that the pointer argument is aligned and non-null

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/replace.rs#null stdout ----

error in revision `null`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/replace.null/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/replace.null/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/replace.rs:15:9:
unsafe precondition(s) violated: ptr::replace requires that the pointer argument is aligned and non-null

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/slice-from-raw-parts-mut.rs#misaligned stdout ----

error in revision `misaligned`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/slice-from-raw-parts-mut.misaligned/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/slice-from-raw-parts-mut.misaligned/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/ui/precondition-checks/slice-from-raw-parts-mut.rs:13:30:
unsafe precondition(s) violated: slice::from_raw_parts_mut requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX`

This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
------------------------------------------


---- [ui] tests/ui/precondition-checks/slice-from-raw-parts-mut.rs#null stdout ----

error in revision `null`: test did not crash! code=Some(3) so test would pass with `run-fail`
status: exit status: 3
command: RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUST_TEST_THREADS="4" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "run" "0" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/slice-from-raw-parts-mut.null/a"
--- stdout -------------------------------
uploaded "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/precondition-checks/slice-from-raw-parts-mut.null/a", waiting for result
died due to signal 6
------------------------------------------
--- stderr -------------------------------

@bors
Copy link
Collaborator

bors commented Jul 4, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 4, 2025
@Enselic
Copy link
Member Author

Enselic commented Jul 4, 2025

Looks like remote-test-client exits with code 3 if the remote crashes with SIGABRT. Will investigate more deeply when I get time. Probably makes sense to special-case this in compiletest.

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-compiletest Area: The compiletest test runner A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc PG-exploit-mitigations Project group: Exploit mitigations S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants